#include "GameState.h"

GameState::GameState()
{
	_CloseState = false;
	_OldState = NULL;
}
GameState::~GameState()
{

}

Game_State GameState::GetNextState()
{
	return _NextState;
}

void GameState::SetNextState(Game_State newNextState)
{
	_NextState = newNextState;
}

GameState* GameState::GetOldState()
{
	return _OldState;
}

void GameState::SetOldState(GameState* old)
{
	_OldState = old;
}

bool GameState::GetCloseState()
{
	return _CloseState;
}

void GameState::SetCloseState(bool newvalue)
{
	_CloseState = newvalue;
}